<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS 2.1 Test Suite: clear</title>
  <style type="text/css"><![CDATA[
   div { font: 15px/1 Ahem; color: green; background: red url(support/css1test5526.png) no-repeat; width: 20em; border: solid black; }
   p { margin: 1em 0; }
   .left {float: left;}
   .right {float: right;}
   .one {clear: left;}
   .two {clear: right;}
   .three {clear: both;}
   .four {clear: none;}
  ]]></style>
  <link title="9.5 Floats" href="http://www.w3.org/TR/CSS21/visuren.html#floats" rel="help"/>
  <link title="9.5.2 Controlling flow next to floats: the &apos;clear' property" href="http://www.w3.org/TR/CSS21/visuren.html#flow-control" rel="help"/>
 </head>
 <body>
  <p>There should be a big green box below.</p>
  <div>
   <img alt="[Image]" height="50" src="support/swatch-green.png" class="left"/> 
   <p>
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
   </p>
   <img alt="[Image]" height="50" src="support/swatch-green.png" class="left"/> 
   <p class="one">
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
   </p>
   <img alt="[Image]" height="50" src="support/swatch-green.png" class="right"/> 
   <p class="two">
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
   </p>
   <img alt="[Image]" height="50" src="support/swatch-green.png" class="left"/>
   <img alt="[Image]" height="50" src="support/swatch-green.png" class="right"/> 
   <p class="three">
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
   </p>
   <img alt="[Image]" height="50" src="support/swatch-green.png" class="left"/>
   <img alt="[Image]" height="50" src="support/swatch-green.png" class="right"/> 
   <p class="four">
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
   </p>
  </div>
 </body>
</html>